09. Putting it Together Exercise

Putting it all Together

A* in the City

At this point, you've got the tools to put together a real planning solution! In this exercise, you'll bring them together to find your way through the city. The steps you'll take include:

  • Read in your map of the world (colliders.csv) and create a grid representation of the environment
  • Define start and goal locations, as well as a heuristic, and run A* through the grid to find a path of cells.
  • Use collinearity and / or Bresenham to eliminate unnecessary waypoints.

And with that you have a planning solution! Follow along with the TODOs in the notebook below and if you get stuck you can always check out our solution by scrolling down to the link at the bottom of the notebook.

Workspace

This section contains either a workspace (it can be a Jupyter Notebook workspace or an online code editor work space, etc.) and it cannot be automatically downloaded to be generated here. Please access the classroom with your account and manually download the workspace to your local machine. Note that for some courses, Udacity upload the workspace files onto https://github.com/udacity, so you may be able to download them there.

Workspace Information:

  • Default file path:
  • Workspace type: jupyter
  • Opened files (when workspace is loaded): n/a